package com.example.content.manager

import androidx.lifecycle.MutableLiveData
import com.example.content.repository.bean.FollowResp
import com.example.content.repository.bean.MdUserInfo
import com.example.core.livedata.SingleLiveEvent
import io.reactivex.rxjava3.core.Single

/**
 * Created by zhudongao
 * Desc
 * Date 2/21/21
 */
class GlobalMgr {
    companion object {
        /**
         * 用户信息修改
         */
        val userInfo = MutableLiveData<MdUserInfo>()
        /**
         * 关注
         */
        val follow = MutableLiveData<FollowResp>()
        /**
         * 点赞
         */
        val thumbUp = MutableLiveData<Boolean>()

        /**
         * 作品删除
         */
        val productDel = MutableLiveData<Boolean>()

        /**
         * 文件上传
         */
        val uploadProduct = MutableLiveData<Boolean>()
        /**
         * 收藏
         */
        val collect = MutableLiveData<Triple<Int, Boolean, Long>>()

        /**
         * 搜索
         */
        val searchKey = MutableLiveData<String>()
    }
}